package com.twu.biblioteca.DataBase;


public class Movie extends Item{
    private final int year;
    private final String director;
    private final String score;

    public Movie(long serialNumber, String name, int year, String director, String score) {
        super(serialNumber, name);
        this.year = year;
        this.director = director;
        this.score = score;
        this.itemType = ItemType.Movie;
    }

    public String getScore() {
        return score;
    }

    public String getDirector() {

        return director;
    }

    public int getYear() {

        return year;
    }
}
